Browse code

Use '-s empty' instead of '-s dir'

This *should* have the same effect as the previous strategy: Instead of
'mkdir empty; fpm -s dir -C empty ...' we can simply do 'fpm -s empty'

Docker-DCO-1.1-Signed-off-by: Jordan Sissel <jls@semicomplete.com> (github: jordansissel)

Jordan Sissel authored on 2014/01/11 05:08:28
Showing 1 changed files
... ...
@@ -125,8 +125,7 @@ EOF
125 125
 		    --config-files /etc/default/docker \
126 126
 		    --deb-compression gz \
127 127
 		    -t deb .
128
-		mkdir empty
129
-		fpm -s dir -C empty \
128
+		fpm -s empty \
130 129
 		    --name lxc-docker --version $PKGVERSION \
131 130
 		    --architecture "$PACKAGE_ARCHITECTURE" \
132 131
 		    --depends lxc-docker-$VERSION \
... ...
@@ -135,7 +134,7 @@ EOF
135 135
 		    --url "$PACKAGE_URL" \
136 136
 		    --license "$PACKAGE_LICENSE" \
137 137
 		    --deb-compression gz \
138
-		    -t deb .
138
+		    -t deb
139 139
 	)
140 140
 }
141 141