chiark / gitweb /
sort files numerically
[bin.git] / dinstall-riva
old mode 100644 (file)
new mode 100755 (executable)
index 86a9f91..42651ac
@@ -1,7 +1,7 @@
 #! /bin/sh
 # The name is a deliberate echo of the "real" Debian dinstall; it moves
 #! /bin/sh
 # The name is a deliberate echo of the "real" Debian dinstall; it moves
-# packages into http://riva.ucam.org/~cjw44/debian/, removes any old versions
-# of those packages there, and re-runs dpkg-myscan {packages,sources}.
+# packages into http://riva.ucam.org/~cjwatson/debian/, removes any old
+# versions of those packages there, and re-runs dpkg-myscan {packages,sources}.
 
 if [ $# -lt 2 ]; then
        echo "Usage: $0 package-name version-number" >&2
 
 if [ $# -lt 2 ]; then
        echo "Usage: $0 package-name version-number" >&2
@@ -79,7 +79,7 @@ fi
 
 echo "Binaries in $BINARYDIR, sources in $SOURCEDIR"
 
 
 echo "Binaries in $BINARYDIR, sources in $SOURCEDIR"
 
-cd /home/httpd/users/$USER/debian
+cd "$HOME/public_html/debian"
 
 ERROR=
 if [ ! -d $BINARYDIR ]; then echo 'Binary dir not found.' >&2; ERROR=1; fi
 
 ERROR=
 if [ ! -d $BINARYDIR ]; then echo 'Binary dir not found.' >&2; ERROR=1; fi