about summary refs log tree commit diff
path: root/gal
diff options
context:
space:
mode:
Diffstat (limited to 'gal')
-rwxr-xr-xgal2
1 files changed, 1 insertions, 1 deletions
diff --git a/gal b/gal
index 6dbcfd4..70a92dd 100755
--- a/gal
+++ b/gal
@@ -24,7 +24,7 @@ TITLE=${TITLE:-$(basename $OUTPUT)}
 mkdir -p $2/{photos,thumbs}
 
 ## Generate index.html menu file
-cp style.css $OUTPUT
+cp $(dirname $(readlink -f $0))/style.css $OUTPUT
 chmod 644 $OUTPUT/style.css
 echo "Generating index.html"