about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-04-10 11:05:20 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-04-10 11:05:20 +0200
commit9658b6d39bf6b65bc5faa6b057e08ff8bd012661 (patch)
tree9b43f91b774f17561d07fdf089e0558fac432d1a
parent042589d39cb987008666e671444f0b8e40b38e74 (diff)
downloadgal-9658b6d39bf6b65bc5faa6b057e08ff8bd012661.tar.gz
gal-9658b6d39bf6b65bc5faa6b057e08ff8bd012661.zip
Fix css path
-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"